﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Detail.ascx.cs" Inherits="UserControls_Gallery_Detail" %>
<%if(_dr!=null){%>
<div class="content_layout_right_col01">
    <div class="box_content_layout_right_col01">
                        <div class="menu_content_layout_right_col01">
                            <div class="box_menu">
                                <div class="box_menu_l"></div>
                                <div class="box_menu_m"><%=this.Lang["MenuGallery"]%></div>
                                <div class="box_menu_r"></div>
                            </div>
                        </div>
                        <div class="box_content">
                        	<div class="box_news_detail">
                            	<div class="news_title_detail"><%=_dr["Title"+this.CurrentLang]%></div>
                                <div class="day_update"><%=this.Lang["PostedDate"]%>: <i>(<%=bzStringClass.getStringDate(_dr["PostedDate"],this.CurrentLang)%>)</i></div>
                                <strong><%=Server.HtmlDecode(_dr["Des"+this.CurrentLang].ToString())%></strong>
                                <div align="center" class="img_news">
                                	<img border="0" src="<%=bzStringClass.getURLImage("Gallery",_dr["PicFull"])%>" width="539px;">
                                    <div align="center" style="padding: 5px; font-size: 10px;"><%=_dr["Note"+this.CurrentLang]%></div>
                                </div>
                                <%=Server.HtmlDecode(_dr["Content"+this.CurrentLang].ToString())%>
                            </div>
                            <%if(dt.Rows.Count>0){%>
                            <div id="otherNews" class="other_box_news">
                                <div class="menu_other_box_news"><%=this.Lang["GalleryOther"]%></div>
                                <ul>
                                <%foreach(System.Data.DataRow dr in dt.Rows){%>
                                    <%if(this.CurrentLang=="VN"){%>
                                        <li><a href="<%=bzStringClass.Root%>hinh-anh-hoat-dong/<%=dr["ID"].ToString()%>.<%=bzStringClass.encodeTitle(dr["Title"+this.CurrentLang].ToString())%>.html"><%=dr["Title"+this.CurrentLang]%> - <span style="font-size:10px;">(<%=bzStringClass.getStringDate(dr["PostedDate"],this.CurrentLang)%>)</span></a></li>
                                   <%}else if(this.CurrentLang=="EN"){ %>
                                        <li><a href="<%=bzStringClass.Root%>gallery/<%=dr["ID"].ToString()%>.<%=bzStringClass.encodeTitle(dr["Title"+this.CurrentLang].ToString())%>.html"><%=dr["Title"+this.CurrentLang]%> - <span style="font-size:10px;">(<%=bzStringClass.getStringDate(dr["PostedDate"],this.CurrentLang)%>)</span></a></li>
                                   <%} %>
                                <%} %>
                                </ul>
                                <div style="float:right"><%=this.Pagination%></div>
                            </div>
                           <%} %> 
                        </div>
                    </div>
</div>
<%} %>